<?php

namespace app\admin\validate;

use think\Validate;

class Slide extends Validate
{

    protected $rule = [
        'slide_title'  =>  'require',
        'slide_url' =>  'require',
        'slide_img' =>  'require',
    ];
    protected $message=[
        'slide_title.require'=>'请输入轮播图标题',
        'slide_url.require'=>'请输入轮播图跳转地址',
        'slide_img.require'=>'请上传轮播图',
    ];






}